﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace demo3
{
    public partial class Form3 : Form
    {
        private int num1, num2;
        //标志表示是否已经初始化时钟
        public int Flag;
        public Form3()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Clock co = new Clock();
            num1 = int.Parse(textBox1.Text);
            num2 = int.Parse(textBox2.Text);
            co.setfirsttime(num1, num2);
            
        }
    }
}
